package com.zbkj.service.service;

import com.zbkj.common.request.PageParamRequest;
import com.zbkj.common.response.AgentConfigItemsPageDataResponse;
import com.zbkj.common.request.AgentConfigItemsSearchRequest;
import com.zbkj.common.request.AgentConfigItemsSaveRequest;
import com.zbkj.common.model.agent.AgentConfigItems;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
/**
* @author dazongzi
* @description AgentConfigItemsService 接口
* @date 2025-07-01
*/
public interface AgentConfigItemsService extends IService<AgentConfigItems> {

    Boolean create(AgentConfigItemsSaveRequest agentConfigItemsSaveRequest);

    /**
     * 分页查询平台代理配置表
     * @param request 查询条件
     * @param pageParamRequest 分页对行
     * @return 查询结果
     */
    List<AgentConfigItemsPageDataResponse> getList(AgentConfigItemsSearchRequest request, PageParamRequest pageParamRequest);

    void deleteByConfigId(List<Integer> configId);

    List<AgentConfigItems> getListByConfigId(Integer id);
    List<AgentConfigItems> getListByConfigIdPlatform(Integer id);
    AgentConfigItems getByConfigId(Integer id, Integer agentConfigCategoryId);
}